package com.example.springMVC.dao;

import com.example.springMVC.pojo.Bill;
import java.util.List;
import java.util.Map;

public interface BillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Bill record);

    Bill selectByPrimaryKey(Long id);

    List<Bill> selectAll();

    int updateByPrimaryKey(Bill record);

    List<Bill> billList(Map<String, Object> param);

    boolean billAdd(Bill bill);

    boolean deleteBill(Long billId);

    Bill getUserById(long billId);

    boolean updateBillById(Bill bill);
}